#ifndef MAINPANE_H
#define MAINPANE_H

//(*Headers(MainPane)
#include <wx/panel.h>
//*)
#include <wx/notebook.h>
class MapEdit;
class FrameEdit;
class ActionEdit;

class MainPane: public wxPanel
{
public:
    MainPane(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);
    virtual ~MainPane();
    void Save();
    void SaveAs(wxString &name);
    void Open(wxString &name);
    void New();
    void UnLock();
    void Lock();
    //(*Declarations(MainPane)
    //*)

protected:

    //(*Identifiers(MainPane)
    //*)

private:
    void OnSize(wxSizeEvent &ev);
    //(*Handlers(MainPane)
    //*)

    DECLARE_EVENT_TABLE()
    wxNotebook *m_pNodeBook;
    MapEdit *m_pMapEdit;
    FrameEdit *m_pFrameEdit;
    ActionEdit *m_pActionEdit;
    wxString m_mapFile;
    wxString m_frameFile;
    wxString m_actionFile;
};

#endif
